package com.yonyou.isv.demo.openapi.api.getinfobycode;

import com.yonyou.isv.demo.openapi.base.module.reponse.ApiDataResponse;
import com.yonyou.isv.demo.openapi.api.BaseOpenApi;
import com.yonyou.isv.demo.openapi.api.OpenApiURL;

import java.util.Map;

/**
 * @description: 应用免登
 * @author: nishch
 * @create: 2021-07-08
 **/
public class InfoByCode extends BaseOpenApi {

    public Map<String, Object> detail(Map<String, String> params) {
        ApiDataResponse apiDataResponse =  getForEntity(OpenApiURL.INFO_BY_CODE,params, ApiDataResponse.class);
        return getData(apiDataResponse);
    }

}
